<%@ taglib prefix="s" uri="/struts-tags"%>

<s:set name="adminLoginCheck" value="%{#session.adminLogin}" />
	<s:if test="%{#adminLoginCheck!=null}">


<s:form action="adminCustomerEditSave" namespace="/">

	<s:iterator value="customer">

		<s:textfield label="Name" key="name" />
		
		<s:textarea label="Address" key="address" />
		<s:select label="Gender" list="#{'Male':'Male', 'Female':'Female'}" name="gender" value="gender" />
		<br /> 
		<s:textfield label="Email" key="email" />
		<s:textfield type="number" label="Phone_number" key="phone_number" />
		<s:textfield disabled="true" label="Date of Born" key="dobString"  />


	</s:iterator>


	<s:hidden name="id" value="%{id}" />
	<s:submit name="saveChange" value="save">
	</s:submit>
</s:form>

<!-- 
	 -->
<!-- 
	 -->
<!-- 
	 -->
<!-- 
	 -->
<!-- 
	 -->
<!-- 
	 -->
<!-- 
	 -->
<!-- 
	 -->

</s:if>

